package com.example.fish.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import java.time.LocalDateTime;

@Data
@TableName("user")
public class User {
    @TableId(value = "ID_user", type = IdType.AUTO)
    private Integer idUser;

    private String account;
    private String password;
    private String name;
    private String nickname;
    private String contact;

    /** ENUM('未审核','正常','已封禁') */
    private String status;

    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;
}
